/**
 * 接收摇杆信息的类
 */
class player extends eui.Component implements eui.UIComponent {

    public distLbl: eui.Label;
    public angleLbl: eui.Label;

    constructor() {
        super();
        this.skinName = "resource/game_skins/playerSkin.exml";
    }

    move($angle, $distance) {
        this.angleLbl.text = $angle.toString();
        this.distLbl.text = $distance.toString();
    }

}